export default function getNowDate() {
  let date = new Date();
  let y = date.getFullYear();
  let m = date.getMonth() + 1;
  let d = date.toDateString().split(" ")[1];
  m = m < 10 ? "0" + m : m;
  d = d < 10 ? "0" + d : d;
  return {
    y,
    m,
    d,
  };
}
